<template>
  <div class="mask">
    <img src="~assets/img/common/loading.gif" alt="">
  </div>
</template>

<script>
export default {
  name: "MaskLayer"
}
</script>

<style scoped lang="less">
  .mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(0, 0, 0, .5);
    img {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      height: 80px;
      border-radius: 20px;
    }
  }
</style>